package org.sang.service;

import org.sang.bean.Video;
import org.sang.mapper.VideoMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Service
@Transactional
public class VideoService {

    @Autowired
    VideoMapper videoMapper;

    public List<Video> getAll() {
        return videoMapper.getAll();
    }
}
